package com.imooc.enums;

import lombok.Getter;

/**
 * 订单状态
 * @author liuhuan
 * @date 2018/7/5 15:44
 * @description
 */
@Getter
public enum OrderStatusEnum implements CodeEnum{
    NEW(0,"新订单"),
    FINISH(1,"完成"),
    CANCEL(2,"取消");
    private Integer code;
    private String msg;
    OrderStatusEnum(Integer code,String msg){
        this.code=code;
        this.msg=msg;
    }
}
